package tech.aistar.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Show implements Serializable {

  private int id;
  private int film;
  private int cinemaId;
  private Date showdate;
  private String showTime;
  private String price;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public int getFilm() {
    return film;
  }

  public void setFilm(int film) {
    this.film = film;
  }

  public int getCinemaId() {
    return cinemaId;
  }

  public void setCinemaId(int cinemaId) {
    this.cinemaId = cinemaId;
  }

  public Date getShowdate() {
    return showdate;
  }

  public void setShowdate(Date showdate) {
    this.showdate = showdate;
  }

  public String getShowTime() {
    return showTime;
  }

  public void setShowTime(String showTime) {
    this.showTime = showTime;
  }

  public String getPrice() {
    return price;
  }

  public void setPrice(String price) {
    this.price = price;
  }

  @Override
  public String toString() {
    return "Show{" +
            "id=" + id +
            ", film=" + film +
            ", cinemaId=" + cinemaId +
            ", showdate=" + showdate +
            ", showTime='" + showTime + '\'' +
            ", price='" + price + '\'' +
            '}';
  }
}
